<template>
  <div class="tab_home">
    <!--    <div class="report-title">-->
    <!--      常见问题-->
    <!--    </div>-->
    <van-nav-bar
      title="常见问题"
      left-text="返回"
      left-arrow
      @click-left="onClickLeft"
    />
    <div class="report-content">
      客服电话：40000000
    </div>
  </div>
</template>

<script>
  import { NavBar  } from 'vant'
  export default {
    components: {
      [NavBar.name]: NavBar
    },
    data () {
      return {}
    },
    methods: {
      // 返回上一页的方法
      onClickLeft () {
        this.$router.go(-1)
      }
    }
  }
</script>

<style scoped lang="less">
  .report-title{
    position: relative;
    text-align: center;
    width: 100%;
    /*height: 20%;*/
    height: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: 600;
    font-size: large;
  }
  .report-content{
    margin: 10px;
    -webkit-box-shadow: 0 3px 20px rgb(226, 230, 229);
    -moz-box-shadow: 0 3px 20px rgb(226, 230, 229);
    box-shadow: 0 3px 20px rgb(226, 230, 229);
    background-color: white;
    height: 30%;
    padding: 15px;
    border-radius: 10px;
    font-size: 15px;
  }
</style>
